package PO;
import java.util.*;
import java.io.Serializable;

import Sale.Order;
import Sale.OrderList;
@SuppressWarnings("serial")
public class OrderListPO  extends PO implements Serializable{
	ArrayList<OrderPO>  orderslist=new ArrayList<OrderPO>();;

	public OrderListPO (ArrayList < OrderPO>  olist){
		orderslist =olist;
	}
		
	public OrderListPO(OrderList orderList) {
		for(Order o:orderList.getOrderList()){
			orderslist.add(new OrderPO(o));
		}
	}
	public ArrayList< OrderPO> getOrderslist(){
		return orderslist;
	}
}

